/**
 * Created by Administrator on 2017/1/11.
 */
$(function () {
   showMajor(); 
});

function showMajor() {
		var url = "/door/StudentBack/getOrg?time=" + new Date().getTime();
		$.getJSON(url, function (strJSON) {
			console.log(JSON.stringify(strJSON));
			var str="";
			for(var i=0;i<strJSON.length;i++){
				str+="<tr>";
				str+="<td><input type='checkbox' name='pid' id='class" + i + "'></td>";
				str+="<td>"+(i+1)+"</td>";
				str+="<td>"+strJSON[i].institutename+"</td>";
				str += "<td><a href='#'>查看</a>/<a href='#'>编辑</a></td>";
				str+="</tr>";
			}
			$('#college_body').html(str);
		});
}